package tech.eyao.hs60x.service;

import tech.eyao.hs60x.dto.BaseResult;

public interface ZoneService {
	
    /**
     * 设置安全区
     * @param zoneName
     * @param longitude
     * @param latitude
     * @param r
     * @param address
     * @return
     */
	BaseResult set(long id,long account,long watchId, String zoneName, double longitude, double latitude, int r, String address);
	
	/**
	 * 删除
	 * @param userId
	 * @param watchId
	 * @param id
	 * @return
	 */
	BaseResult delete(long userId, long watchId, long id);
	
	/**
	 * 列表
	 * @param userId
	 * @param watchId
	 * @return
	 */
	BaseResult list(long userId, long watchId);

}
